﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.COM;

namespace MINERP.MODEL.GroupSample
{
    public class TaskInfo
    {
        /// <summary>
        ///  是否为返单产品
        /// </summary>
        public bool IsRebackOrder { get; set; }
        public int OrderProductId { get; set; }
        public string OrderProductName { get; set; }
        public string ProductName { get; set; }
        public string ProductSize { get; set; }
        public int ProductNum { get; set; }
        public int PageNum { get; set; }
        public int ShopId { get; set; }
        public string ShopName { get; set; }
        public string CtmName { get; set; }
        public int Priority { get; set; }
        public string TechName { get; set; }
        public bool IsDeisgnTech { get; set; }
        public int TechId { get; set; }
        public string ProductRemark { get; set; }
        public string OrderPath { get; set; }
        public string PaperFaceName { get; set; }
        public string PaperTypeName { get; set; }
        public string PrinterName { get; set; }
        public int status { get; set; }
        public string StatusName
        {
            get
            {
                string strStatus;
                switch (status)
                {
                    case (int)OrderFlowListStatus.Wait: strStatus = "未到本岗位操作";
                        break;
                    case (int)OrderFlowListStatus.Useable: strStatus = "等待接收";
                        break;
                    case (int)OrderFlowListStatus.UseableAccept: strStatus = "已接受";
                        break;
                    case (int)OrderFlowListStatus.Complete: strStatus = "已完成";
                        break;
                    case (int)OrderFlowListStatus.Error: strStatus = "错误";
                        break;
                    case (int)OrderFlowListStatus.UnProduct: strStatus = "不可生产";
                        break;
                    default: strStatus = "其它状态,请查询客服";
                        break;
                }

                return strStatus;
            }
        }
        public string SmallPicStatus { get; set; }//看样状态
        public List<PhotoInfo_GM> PhotoList { get; set; }//此产品的照片列表
        public int workflowlistId { get; set; } //流程ID
        public int orderBagID { get; set; }
    }
}
